package com.zahb.qadx.model;

import com.chad.library.adapter.base.entity.MultiItemEntity;


public class ExamBean implements MultiItemEntity {

    public static final int TITLE = 1;
    public static final int ITEM = 2;





    private int itemType=TITLE;
    //  public ChatImgBean chatImgBean;
    public String title;

    public String name;
    public String content;
    public int colorType = 0;

    public ExamBean(String title){
        this.title=title;
        this.itemType=TITLE;
    }

    public ExamBean(String name, String content) {
        this.name = name;
        this.content = content;
        this.itemType=ITEM;
    }

    public ExamBean(String name, String content,int c) {
        this.name = name;
        this.content = content;
        this.colorType = c;
        this.itemType=ITEM;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}

